package designModel.proxy;

/**
 * 定义一个超市对象,实现了购物(Shopping)接口
 */
public class Supermarket implements Shopping {
    @Override
    public void buy(String goods) {

        System.out.println("购买商品:" + goods);
    }
}
